package ch28.visitor.action;

import ch28.visitor.model.Man;
import ch28.visitor.model.Woman;

/**
 * @description: 类描述
 * @author: Fesine
 * @createTime:2016/12/25 14:57
 * @update:修改内容
 * @author: Fesine
 * @updateTime:2016/12/25 14:57
 */
public class Failing extends Action {
    public void getManConclusion(Man man) {
        System.out.println(man.getClass().getSimpleName() + " " + this.getClass().getSimpleName() +
                "时，闷头喝酒，谁也不用劝。");
    }

    public void getWomanConclusion(Woman woman) {
        System.out.println(woman.getClass().getSimpleName() + " " + this.getClass().getSimpleName
                () + "时，眼泪汪汪，谁也劝不了。");
    }
}
